package com.wangt.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wangt.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("d_device")
public class DDevice extends BaseEntity {
    /**
     * 规则id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String topic;
}
